import { getLinkSimple }  from '../utils/VueLinkUtil';

export const HOME_ROUTE = async() => await getLinkSimple({path: ''});

export const MSG_LIST_ROUTE = () => getLinkSimple({ path: 'msg-list' });

export const CLIENTS_ROUTE = () => getLinkSimple({ 
  path: 'normal-client', 
  params: {
    custom_type: 1,
    title:  '我的潜在客户',
    is_member:0
  }
});

export const CHENGJIAO_CLIENTS_ROUTE = () => getLinkSimple({ 
  path: 'normal-client', 
  params: {
    custom_type: 1,
    title:  '我的成交客户',
    is_member: 1
  }
});

export const FOLLOW_RECORD = () => getLinkSimple({
  path: 'follow-record', 
  params: {
    custom_type: 1,
    title:  '跟进记录'
  }
});

export const CHA_CHONG = () => getLinkSimple({
  path: 'cha-chong', 
  params: {
    title: '查重',
    action: 'search',
    timestamp: 1212,
    custom_type: 1
  }
});

export const CLIENT_SEAS = () => getLinkSimple({
  path: 'normal-client-seas', 
  params: {
    custom_type: 1,
    title: '客户公海'
  }
});

export const INTEL_CLIENT_SEAS = () => getLinkSimple({
  path: 'intel-client-seas', 
  params: {
    custom_type: 1,
    title: '智能公海'
  }
});

export const REASSIGN_CLIENTS = () => getLinkSimple({
  path: 'normal-reassign-client', 
  params: {
    custom_type: 1,
    is_member: 0,
    title: '团队潜在客户'
  }
});

export const CHENGJIAO_REASSIGN_CLIENTS = () => getLinkSimple({
  path: 'normal-reassign-client', 
  params: {
    custom_type: 1,
    is_member: 1,
    title: '团队成交客户'
  }
});

export const NEW_ROLLS = () => getLinkSimple({
  path: 'new-roll', 
  params: {
    custom_type: 1,
    title: '名单添加列表'
  }
});

export const SCAN_CODE = () => getLinkSimple({
  path: 'scan-code', 
  params: {
    custom_type: 1,
    title: '现场扫码营销'
  }
});

export const INVITE_CODE = () => getLinkSimple({
  path: 'invite-code', 
  params: {
    custom_type: 1,
    title: '邀请码营销'
  }
});

export const H5_MARKETING = () => getLinkSimple({
  path: 'h5marketing', 
  params: {
    custom_type: 1,
    title: 'H5营销'
  }
});

export const MY_CARD = () => getLinkSimple({
  path: 'my-card', 
  params: {
  }
});

export const RED_PACK_RECORD = () => getLinkSimple({
  path: 'redpack-link', 
  params: {
  }
});

export const REASSIGN_SETTING = (teamId) => getLinkSimple({
  path: 'reassign-setting', 
  params: {
    team_id: teamId
  }
});


export const RELEASE_SETTING = (teamId) => getLinkSimple({
  path: 'release-setting', 
  params: {
    team_id: teamId
  }
});


export const DEFAULT_SETTING = (teamId) => getLinkSimple({
  path: 'default-address', 
  params: {
    team_id: teamId
  }
});

